package com.zhny.aiot.zbsyb.sexual.trap.plugin;

import com.zhny.aiot.plugin.Field;
import com.zhny.aiot.plugin.web.WebConfig;
import lombok.Data;

@Data
public class SexualTrapConfig extends WebConfig {
    @Field(
            alias = "用户账号",
            description = "用户账号"
    )
    private String userName;
    @Field(
            alias = "用户密码",
            description = "用户密码"
    )
    private String password;

    @Field(
            alias = "应用平台地址",
            description = "应用平台地址"
    )
    private String host;

    @Field(
            alias = "设备序列号",
            description = "设备序列号"
    )
    private String sn;



    @Override
    public String toKey() {
        return super.toKey (userName,password,sn);
    }
}
